/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "商铺信息表",TableName = "shop_info")]
    public partial class shop_info:BaseEntity
    {
        /// <summary>
       ///供应商ID
       /// </summary>
       [Key]
       [Display(Name ="供应商ID")]
       [Column(TypeName="bigint")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public long shop_id { get; set; }

       /// <summary>
       ///供应商编码
       /// </summary>
       [Display(Name ="供应商编码")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string shop_code { get; set; }

       /// <summary>
       ///供应商名称
       /// </summary>
       [Display(Name ="供应商名称")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string shop_name { get; set; }

       /// <summary>
       ///供应商类型：1.自营，2.平台
       /// </summary>
       [Display(Name ="供应商类型：1.自营，2.平台")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? shop_type { get; set; }

       /// <summary>
       ///供应商联系人
       /// </summary>
       [Display(Name ="供应商联系人")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string link_man { get; set; }

       /// <summary>
       ///联系电话
       /// </summary>
       [Display(Name ="联系电话")]
       [MaxLength(11)]
       [Column(TypeName="nvarchar(11)")]
       [Editable(true)]
       public string phone_number { get; set; }

       /// <summary>
       ///供应商开户银行名称
       /// </summary>
       [Display(Name ="供应商开户银行名称")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string bank_name { get; set; }

       /// <summary>
       ///银行账号
       /// </summary>
       [Display(Name ="银行账号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string bank_account { get; set; }

       /// <summary>
       ///供应商地址
       /// </summary>
       [Display(Name ="供应商地址")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string address { get; set; }

       /// <summary>
       ///最后修改时间
       /// </summary>
       [Display(Name ="最后修改时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? modified_time { get; set; }

       /// <summary>
       ///状态：0禁止，1启用
       /// </summary>
       [Display(Name ="状态：0禁止，1启用")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? shop_status { get; set; }

       /// <summary>
       ///商家封面
       /// </summary>
       [Display(Name ="商家封面")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string shop_image_url { get; set; }

       /// <summary>
       ///是否推荐状态：0否，1是
       /// </summary>
       [Display(Name ="是否推荐状态：0否，1是")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int pick_status { get; set; }

       /// <summary>
       ///路由地址
       /// </summary>
       [Display(Name ="路由地址")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string route_url { get; set; }

       /// <summary>
       ///经度
       /// </summary>
       [Display(Name ="经度")]
       [Column(TypeName="double")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public decimal longitude { get; set; }

       /// <summary>
       ///纬度
       /// </summary>
       [Display(Name ="纬度")]
       [Column(TypeName="double")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public decimal latitude { get; set; }

       /// <summary>
       ///商铺状态 0营业中
       /// </summary>
       [Display(Name ="商铺状态 0营业中")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int status { get; set; }

       
    }
}